package com.hhang.boot.dao;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface HouseDao {
    List<Map<String,Object>> findHouse(Map<String,Object> condition) throws Exception;
    int addHouse(Map<String, Object> note) throws Exception;
    int upHouse(Map<String, Object> param) throws Exception;
    int delHouse(List<Long> id) throws Exception;

    List<Map<String,Object>> findBranch(Map<String,Object> condition) throws Exception;
    int delBranch(List<Long> id) throws Exception;
    int addBranch(Map<String, Object> note) throws Exception;

    //增加资金
    int add(Map<String,Object> param) throws Exception;

    int del(List<Long> id) throws Exception;

    int update(Map<String, Object> param) throws Exception;

    List<Map<String ,Object>> findPrice(Map<String,Object> notes) throws Exception;

    List<Map<String ,Object>> find7days(Map<String,Object> notes) throws Exception;


}
